package cn.lystudio.rohmtimeopwide_background_v11.service.impl;

import cn.lystudio.rohmtimeopwide_background_v11.entity.vo.RecordTimeLineVO;
import cn.lystudio.rohmtimeopwide_background_v11.mapper.RecordTimeLineMapper;
import cn.lystudio.rohmtimeopwide_background_v11.service.RecordTimeLineService;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
@DS("master")

public class RecordTimeLineServiceImpl implements RecordTimeLineService {
    @Resource
    private RecordTimeLineMapper recordTimeLineMapper;
    @Override
    public List<RecordTimeLineVO> getRecordTimeLine(String machineNo, String beginDate, String endDate) {
        return recordTimeLineMapper.getRecordTimeLine(machineNo,beginDate,endDate);
    }
}
